<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
	xmlns:s="/struts-tags" xmlns:sj="/struts-jquery-tags">
	<jsp:directive.page language="java"
		contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
	<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<jsp:text>
	<![CDATA[ 				
		
		 ]]>
</jsp:text>
</head>
<!-- Head -->
<body>
	<div class="row">
		<div align="center">
			<h1>Modificar Aplicación de Software</h1>
		</div>
	</div>
	<div class="row">
		<s:form cssClass="form-horizontal" method="post"
			action="%{request.contextPath}/aplicacion/gestionar-aplicacion/%{idSel}">
			<s:hidden name="_method" value="put"></s:hidden>
			<div class="form-group">
				<label for="nombre" class="col-sm-2 control-label">Nombre:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="nombre"
						name="model.nombre" placeholder="Nombre" value="${model.nombre}" />
					<s:fielderror fieldName="model.nombre" theme="jquery"
						cssClass="error" />
				</div>
			</div>
			<div class="form-group">
				<label for="codeVersion" class="col-sm-2 control-label">Versión
					del software:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="codeVersion"
						name="model.codeVersion" placeholder="Versión del software"
						value="${model.codeVersion}" />
					<s:fielderror fieldName="model.codeVersion" theme="jquery"
						cssClass="error" />
				</div>
			</div>
			<div class="form-group">
				<label for="lenguaje" class="col-sm-2 control-label">Lenguaje:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="lenguaje"
						name="model.lenguaje" placeholder="Lenguaje"
						value="${model.lenguaje}" />
					<s:fielderror fieldName="model.lenguaje" theme="jquery"
						cssClass="error" />
				</div>
			</div>

			<div class="form-group">
				<label for="compilerVersion" class="col-sm-2 control-label">Versión
					compilada:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="compilerVersion"
						name="model.compilerVersion" placeholder="Versión compilada"
						value="${model.compilerVersion}" />
					<s:fielderror fieldName="model.compilerVersion" theme="jquery"
						cssClass="error" />
				</div>
			</div>
			<div class="form-group">
				<div class="col-md-offset-5">
					<button type="submit" class="btn btn-success">Enviar</button>
					<button
						onclick="location='${pageContext.request.contextPath}/aplicacion/gestionar-aplicacion'"
						class="btn-default btn" type="button">Cancelar</button>
				</div>
			</div>

		</s:form>
	</div>
</body>
	</html>
</jsp:root>